import request from "../../request/index";
// 获取普通商品房数据
export const fetchGoodPrice = () => {
  return request.get({
    url: "/home/goodprice",
  });
};

//获取高性价比房源数据
export const fetchHighScoreRooms = () => {
  return request.get({
    url: "/home/highscore",
  });
};

//获取折扣房源数据
export const fetchDisCountRooms = () => {
  return request.get({
    url: "/home/discount",
  });
};

//获取推荐房源数据
export const fetchHomeRecommand = () => {
  return request.get({
    url: "/home/hotrecommenddest",
  });
};

//获取向往房源
export const fetchLongForHomeList = () => {
  return request.get({
    url: "/home/longfor",
  });
};

export function fetchHomePlusList() {
  return request.get({
    url: "/home/plus",
  });
}
